package com.lvy.hczn.front.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lvy.hczn.front.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 提货单/取货单详情
 *
 * @author yw
 * @date 2022-03-22 20:05:39
 **/
@Data
@TableName("delivery_order_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "提货单/取货单详情")
public class DeliveryOrderDetail extends BaseModel<DeliveryOrderDetail> {

    @ApiModelProperty(value = "提货单编号")
    private String deliveryOrderCode;

    @ApiModelProperty(value = "货箱编号")
    private String boxCode;

    @ApiModelProperty(value = "汇总时的所属仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "汇总时的所属仓库下的提货单ID")
    private String sourceId;

    @ApiModelProperty(value = "所对应的采购单")
    private String purchaseOrderCode;

    @ApiModelProperty(value = "供应商id")
    private String supplierCode;

    @ApiModelProperty(value = "货物件数")
    private Integer number;

    @ApiModelProperty(value = "配送费用")
    private BigDecimal distributionCost;

    @ApiModelProperty(value = "状态（0：待取货，1：已取货，2：缺货，3、取消）")
    private String status;

    @ApiModelProperty(value = "取货时间")
    private LocalDateTime deliveryTime;

    @ApiModelProperty(value = "取货数量")
    private Integer deliveryNumber;
}
